package com.fkdx.webman;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@ComponentScan(basePackages = {"com.fkdx"})
@SpringBootApplication
@EnableSwagger2
@EnableScheduling
@EnableAsync
@MapperScan(basePackages = "com.fkdx.dao.mapper")
@EnableFeignClients(basePackages = {"com.fkdx"})
public class WebmanApplication {

  public static void main(String[] args) {
    SpringApplication.run(WebmanApplication.class, args);
    System.out.println("WebmanApplication success !!!");
  }

}
